class CreateStudents < ActiveRecord::Migration
  def change
    create_table :students do |t|
      t.string :name
      t.integer :age
      t.boolean :sex
      t.string :class

      # t.timestamps null: false
      t.timestamps
    end
  end
end
